﻿using BCEntity.OA.Workflow.WorkflowActivityStep;
using BCEntity.OA.Workflow.WorkflowActivityStepExtendMethod;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCEntity.OA.Workflow.WorkflowActivity
{
    /// <summary>
    /// OA工作流活动
    /// </summary>
    public class WorkflowActivityEntity
    {
        /// <summary>
        /// 工作流活动Id
        /// </summary>
        public long WorkflowActivityId { get; set; }
        /// <summary>
        /// 工作流Key
        /// </summary>
        public string WorkflowKey { get; set; }
        /// <summary>
        /// 工作流类型
        /// </summary>
        public string WorkflowType { get; set; }
        /// <summary>
        /// 工作流名称
        /// </summary>
        public string WorkflowName { get; set; }
        /// <summary>
        /// 集团公司Id
        /// </summary>
        public int? CompanyId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 是否为基本工作流
        /// </summary>
        public bool IsBaseWorkflow { get; set; }
        /// <summary>
        /// 步骤列表
        /// </summary>
        public List<WorkflowActivityStepEntity> Steps { get; set; }
        /// <summary>
        /// 活动步骤扩展方法列表
        /// </summary>
        public List<WorkflowActivityStepExtendMethodEntity> ExtendMethods { get; set; }
    }
}
